package com.allen.bean;

public class Chart {

    private String date;
    private int num =0;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        String dat = date.trim();
        int y = dat.indexOf("年");
        String d = dat.substring(y + 1);
        this.date = d;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
